package com.hydl.power.mapper;


import com.hydl.power.pojo.CabinetDevice;
import com.hydl.power.pojo.ChargerModule;

import java.util.List;

public interface ChargerModuleMapper {


    List<ChargerModule> getChargerModule(String directCurrentScreenId);

    CabinetDevice getDirectCurrentScreenDeviceNumber(String directCurrentScreenId, String projectId, String powerRoomId);

    List<CabinetDevice> getDeviceByProjectId(String projectId);

    void addChargerModule(ChargerModule chargerModule);

    void updateChargerModule(Integer id, String name, String manufactor, String serialNumber, String modelNumber, String productionTime, String projectId, String projectName, String powerRoomId, String powerRoomName, String directCurrentScreenId);

    void deleteChargerModule(Integer id);
}
